package cate.game.role.pvp.teampvp.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBTeamPvp;

@ClientMsg(title = "战报请求")
public class TeamPvpReportListReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new TeamPvpReportListResp(cc.getRole().getPvp().teamPvp.reports));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTeamPvp.REPORT_LIST_REQ;
    }
}
